package com.detail.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.detail.entity.Order;
import com.detail.mapper.OrderMapper;
import com.detail.service.OrderService;
import org.springframework.stereotype.Service;

/**
 * @Author: Duansanmao
 * @Date: 2021/7/18 17:59
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {

    @Override
    public Order getOrderDetail(String orderId) {

       return this.baseMapper.selectById(orderId);
    }
}
